﻿using UnityEngine;
using System.Collections;

public class GameMsgCode  {

    public  const short Heart_Req = 1001;
    public  const short Heart_Rsp = 1002;
    public  const short Sys_ServerClose = 1003;
    public  const short Sys_Time24 = 1004;
    public  const short Sys_Debug = 1005;
    public  const short HttpRequest = 1006;
    public  const short Rpc_Request = 1007;

    /**
	 * 大厅消息编号
	 */
  
    public  const short Center_UserLogin = 2006;//用户登录

    //玩家操作请求
    public  const short Center_EntryGame = 2501;//进入游戏
    public  const short Center_RoleHallDataRefresh = 2502;//刷新大厅玩家数据

    /**
	 * 游戏服消息编号
	 */
    public  const short Game_ConnectionClosed = 3006;

    //游戏服玩家交互消息
    public  const short Game_CreateRoom = 3501;//创建房间
    public  const short Game_EntryRoom = 3502;//进入房间
    public  const short Game_LeaveRoom = 3503;//离开房间
    public  const short Game_RoomTalk = 3504;//房间说话

    /**
	 * 网关消息编号
	 */
    public  const short Gate_ConnectionClosed = 4002;
    public  const short Gate_UserLogin = 4003;//用户登录
    public  const short Gate_LoginOut = 4005;//用户注销
    public  const short Gate_ErrorInfo = 4008;
    public  const short Gate_Broadcast = 4010;//广播消息
 
}
